<template>
    <el-input v-model="searchForm[data['prop']]" :placeholder="data['placeholder']" :clearable="data['clearable']" :disabled="data['disabled']" style="width: 180px"/>
</template>

<script setup>

const props = defineProps({
    data: {
        type: Object,
        default: () => {}
    }
});

const searchForm = defineModel('searchForm');

</script>

<style lang="scss" scoped>
@import './Input.scss';
</style>